﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="uploadar.aspx.cs" Inherits="uploadar" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>上传档案</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="style/main.css" rel="stylesheet" type="text/css" />
	<script src="script/first.js" type="text/javascript" language="javascript"></script>
	<script src="script/main.js" type="text/javascript" language="javascript"></script>
	<script src="script/upload.js" type="text/javascript" language="javascript"></script>
</head>
<body>
	<div id="wrapper">
		<div id="header">
		</div>
		<div id="navMenu" runat="Server"></div>
		<div id="mainBox" class="clearFix">
			<div id="dummyH"></div>
			<div id="content">
				<div class="cue">
					谁上传谁管理谁负责，请勿上传淫秽、色情信息，文件大小不超过50M。</div>
				<div class="hrLine">
				</div>			
				<asp:Label ID="feedBack" CssClass="hint red" runat="server"></asp:Label>
				<form action="" enctype="multipart/form-data" id="form1" 
					onsubmit="return checkU(<%Response.Write(SystemMan.UploadPoints());%>	);" method="post" >
				<table id="uploadAr" class="loginBox">
					<tr>
						<td>
							*档案名称:
						</td>
						<td>
							<input type="text" name="name" id="name" size="30" maxlength="30" runat="Server" />
						</td>
					</tr>
					<tr>
						<td>
							*关键字(Tag):
						</td>
						<td>
							<input type="text" name="keywords" id="keywords" size="50" maxlength="50" runat="Server" />
						</td>
					</tr>
					<tr>
						<td>
							*档案价值分:
						</td>
						<td>
							<input type="text" name="point" id="point" size="10" maxlength="10" runat="Server" />
						</td>
					</tr>
					<tr>
						<td>
							*档案描述:
						</td>
						<td>
							<textarea name="description" id="description" cols="40" rows="7" runat="Server"></textarea>
						</td>
					</tr>
					<tr>
						<td>
							*档案:
						</td>
						<td>
							<input type="file" name="file" id="file" runat="Server" onchange="FileChange(this);" />
						</td>
					</tr>
					<tr>
						<td>
							*档案类型:
						</td>
						<td>
							<select name="type" id="type" runat="Server">
								<option value="1">视频</option>
								<option value="2">音频</option>
								<option value="4">文本</option>
								<option value="8">图像</option>
								<option value="16">压缩档案</option>
								<option value="32" selected="selected">其他类型</option>
							</select>
						</td>
					</tr>
					<tr>
						<td>
							*安全级别:
						</td>
						<td>
							<select name="secLevel" id="secLevel" runat="Server">
								<option value="0">完全公开</option>
								<option value="1" selected="selected">注册用户可访问</option>
								<option value="2">个人私有</option>
								<option value="3">绝密档案</option>
							</select>
						</td>
					</tr>					
					<tr>
						<td>
							*分类目录:
						</td>
						<td>
							<input type="text" name="category" id="category" runat="Server" />
						</td>
					</tr>
					<tr>
						<td>
							*验证码:
						</td>
						<td>
							<input type="text" name="checkCode" size="4" />请输入右图中四位验证码，
							<img id="ccImg" src="CheckCodeImg.aspx?cc=5" />
							<a href="#" onclick="return RefreshCheckCode();">看不清？换！</a>
						</td>
					</tr>
					<tr>
						<td>
						</td>
						<td>
							<input type="submit"  value="提交" class="button" />
						</td>
					</tr>
				</table>
				</form>
			</div>
		</div>
        <div id="footer">
            <p>
                &copy;2009 华南理工大学计算机科学与技术专业2006级软件工程第6小组提供技术支持</p>
        </div>			
	</div>
</body>
</html>
